
import { App } from "vue";
import { Container, Button, ButtonGroup, Radio, RadioGroup, Floatbar } from '@opentiny/vue'

const components: Record<string, any> = {
    Container,
    Button,
    ButtonGroup,
    Radio,
    RadioGroup,
    Floatbar
}

export function usePlugins(app: App){
    Object.keys(components).map((key:string)=>{
        console.log(`Tiny${key}`,components[key])
        app.component(`Tiny${key}`,components[key])
    })
}
